import request from '@/utils/request'

// 一周的支付数据 {"date":"2020-12-25","pay_amount":48,"pay_count":"2"}
export function paydata(query) {
  return request({
    url: '/index/payData',
    method: 'get',
    params: query
  })
}
// 一周的dau、install、entergame数据 {"date":"2020-12-27","dau":"1032119","install":"137639","enter_game":"946562"}
export function weekdata(query) {
  return request({
    url: '/index/weekData',
    method: 'get',
    params: query
  })
}
export function installdata(query) {
  return request({
    url: '/index/installData',
    method: 'get',
    params: query
  })
}
export function daudata(query) {
  return request({
    url: '/index/dauData',
    method: 'get',
    params: query
  })
}
export function entergamedata(query) {
  return request({
    url: '/index/enterGameData',
    method: 'get',
    params: query
  })
}
export function paymentdata(query) {
  return request({
    url: '/index/paymountData',
    method: 'get',
    params: query
  })
}
